<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
%>



<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>main</title>
<link rel="stylesheet" rev="stylesheet" href="../css/style.css"
	type="text/css" media="all" />

<script src="../js/jquery.min.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript">
	
	function check() {
		document.getElementById("aa").style.display = "";
	}

	
	/* function doblur(){
		if($('#psd').val() == ''){
			$('#msg1').html('密码不能为空');
			$('#msg1').css('color','red');
		}else{
			$('#msg1').html('');
		}
	}
	
	function doblur1(){
		if($('#psd').val() != $('#psd1').val()){
			$('#msg2').html('密码不一致');
			$('#msg2').css('color','red');
		}else{
			$('#msg2').html('密码一致');
			$('#msg2').css('color','green');
		}
	} */
	
	function link() {
	 	if(document.getElementById("shopName").value == '' || document.getElementById("cityName").value == '' || document.getElementById("shopAddress").value ==''|| document.getElementById("telephone").value==''||
	 			document.getElementById("latitude").value ==''||document.getElementById("longitude").value ==''||document.getElementById("items_pic").value ==''){
			alert('内容有空，请填写完整')
	 		$("#fom").submit(function(e){
			    e.preventDefault();
			});
		}
	}
	
	
</script>
<style type="text/css">
<!--
.atten {
	font-size: 12px;
	font-weight: normal;
	color: #F00;
}
-->
</style>
</head>

<body class="ContentBody">
	<form action="<%=path %>/banner2/addfdimgs" method="post" name="fom"
		id="fom" ENCTYPE="multipart/form-data">
		<div class="MainDiv">
			<table width="99%" border="0" cellpadding="0" cellspacing="0"
				class="CContent">

				<tr>
					<th class="tablestyle_title">添加功能明细图页面</th>
				</tr>
				<tr>
					<td class="CPanel">

						<table border="0" cellpadding="0" cellspacing="0"
							style="width: 100%">
							<tr>
								<td> <input
									type="button" name="Submit2" value="返回" class="button"
									onclick="window.history.go(-1);" /></td>
							</tr>

							<TR>
								<TD width="100%">
									<fieldset style="height: 100%;">
										<legend>功能明细图添加</legend>
											
											
											<%-- <input value="${cityAddress.id}" type="text" name="id" id="" style=""> --%>
										
										
										<table border="0" cellpadding="2" cellspacing="1"
											style="width: 100%">
												<tr>
											<td nowrap align="right">	请选择那个功能:	</td>
												
										     <td nowrap align="left">		<select style="width=143px "name="functionNum">  
                                                            <option value ="1" >功能1</option>  
                                                            <option value ="2">功能2</option>  
                                                           
                                                             <option value="3">功能3</option>
                                                             <option value="4">功能4</option> 
                                                             <option value="5">功能5</option> 
                                                             <option value="6">功能6</option> 
                                                             <option value="7">功能7</option> 
                                                             <option value="8">功能8</option>   
                                                        </select>  
											</td>	
												</tr>
												
												<tr>
												             
													<td nowrap align="right" width="13%">请选择图片:</td>
													<td width="43%" nowrap align="left">
														<input name="items_pic"  id="items_pic" type="file"
														style="width: 250px" 
														value="" /></td>
												</tr>
												
												<tr>(上传图片大小不超过80KB,宽高比:横图1.5,竖图0.67)</tr>
												
										</table>
										<br />
									</fieldset>
								</TD>
							</TR>

						</TABLE>


					</td>
				</tr>






				<TR>
					<TD colspan="2" align="center" height="50px"><input
						type="submit" name="Submit" value="提交" class="button" onclick="link()"/> <input
						type="button" name="Submit2" value="返回" class="button"
						onclick="window.history.go(-1);" /></TD>
				</TR>
			</TABLE>


			




			

		</div>
	</form>
</body>
</html>

